home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14611 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  805 b 

  1. Path: news.production.compuserve.com!news
  2. From: Peter Hammond <100443.2074@CompuServe.COM>
  3. Newsgroups: comp.lang.c++
  4. Subject: ostream & streambuf inheritance
  5. Date: 1 Apr 1996 10:33:11 GMT
  6. Organization: Cygnus Intruments Ltd
  7. Message-ID: <4jobd7$h0e$3@mhafc.production.compuserve.com>
  8.  
  9. Hi all,
  10. 1) Is there a FAQ?
  11. 2) I am trying to derive from streambuf to create an ostream like 
  12. class for output to a DOS graphics screen, using the Borland 
  13. graphics functions. The problem is, my steambuf::overflow 
  14. overload works fine, but it is not getting called when I flush 
  15. the stream:
  16. class graphstream : public ostream
  17. {
  18.  
  19. -- 
  20. Cygnus Instruments Ltd        Ultrasonic NDT Equipment
  21.    30 Prince of Wales Rd, Dorchester, Dorset DT1 1PW            
  22.    England    
  23. Tel +44 (0)1305 265533        Fax +44 (0)1305 269960
  24.